<template>
    <Table border :columns="column" :data="pricerule"></Table>
</template>

<script>
    export default {
        name: "pricerule",
        data(){
            return{
                column:[
                    {
                        title:'会员等级',
                        key:'intro'
                    },
                    {
                        title:'折扣',
                        key:'agio'
                    },
                ]
            }
        },
        asyncData:{
            pricerule(){
                return this.$http.get("/admin/sysmanage/priceRule").then(resp=>resp.data.data)
            }
        }
    }
</script>

<style scoped>

</style>